package com.example.rdemo.service;

import com.example.rdemo.entity.Banner;
import com.example.rdemo.utils.PageResult;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * bannerService接口
 * 
 * @author ruoyi
 * @date 2025-03-27
 */
@Service
public interface BannerService {
    //查询banner
    public Banner selectBannerById(Long id);

    //查询banner列表
    public PageResult selectBannerList(Banner banner, int pageNum, int pageSize);

    //新增banner
    public int insertBanner(Banner banner);

    //修改banner
    public int updateBanner(Banner banner);

    //批量删除banner
    public int deleteBannerByIds(Long[] ids);

    //删除banner信息
    public int deleteBannerById(Long id);
}
